Darwin's World Simulation in C#: An Interpreter
نویسنده
چکیده
In Darwin’s world the user creates robot-like graphical creatures with behavior defined by a simple programming language. These creatures migrate around a small two-dimensional grid, each according to its simple program created by the user. The GUI application that controls and displays the location of these creatures must interpret the program instructions supplied in a simple text file for each creature type in real-time and display the movement and behavior of these creatures. Since some creatures may “infect” another creature in an adjacent grid location, converting the infected creature into the same type as the creature administering the infection, the population of the various creature types changes over time although the total number of creatures remains constant. The application tracks and displays the population dynamics as the simulation evolves. New creature types may be created by supplying a text file that contains the “program” that the application interprets. This necessitates changes to the GUI that displays the dynamics of the simulation.
منابع مشابه
Darwin's World Simulation in C#: The Model/View Classes
Please refer to the paper, “Darwin’s World Simulation in C#: An Interpreter” from the January/February, 2010 issue of JOT. This paper focuses on the GUI aspects of the implementation. The two remaining classes are World (the model of the Darwin world) and the GUI class WorldUI. The World classs communicates to the WorldUI class, the observer class, by firing events. This model/view separation p...
متن کاملA Simulation Approach to Evaluate Performance Indices of Fuzzy Exponential Queuing System (An M/M/C Model in a Banking Case Study)
This paper includes a simulation model built in order to predict the performance indicessuch aswaiting time by analyzing queue’s components in the real world under uncertain and subjective situation. The objective of this paper is to predict the waiting time of each customer in an M/M/C queuing model. In this regard, to enable decision makers to obtain useful results with enough knowledge on th...
متن کاملSimulation and Experimental Studies of Mineral Scale Formation Effects on Performance of Sirri-C Oil Field under Water Injection
Water injection is an enhanced oil recovery method which is applied for number of reservoirs especially in the offshore fields around the world. Sea-water injection process is usually associated with important concerns affecting the efficiency, safety, and economy of the operation like formation damage, mineral scaling, early breakthrough and corrosion. Incompatibility between injected and ...
متن کاملDarwin as a plant scientist: a Southern Hemisphere perspective.
Events around the world this year celebrate the bicentenary of the birth of Charles Darwin (1809-1882) and the sesquicentenary of publication of his most important work, The Origin of Species (Darwin 1859). The associated plethora of books and papers now appearing to commemorate Darwin's work continue the traditional emphasis on his zoological and geological contributions. There has been some r...
متن کاملAdapting Golog for Composition of Semantic Web Services
Motivated by the problem of automatically composing network accessible services, such as those on the World Wide Web, this paper proposes an approach to building agent technology based on the notion of generic procedures and customizing user constraint. We argue that an augmented version of the logic programming language Golog provides a natural formalism for automatically composing services on...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Journal of Object Technology
دوره 9 شماره
صفحات -
تاریخ انتشار 2010